var _o57;
var cc__decorate = __decorate;
Object.defineProperty(exports, "__esModule", {
  value: true
});
var $2TiliView = require("TiliView");
var cc__decorator = cc._decorator;
var ccp_ccclass = cc__decorator.ccclass;
var ccp_property = cc__decorator.property;
var def_NodeManager = _o57 = /* */function (_cc$Component19) {
  function _ctor() {
    var _this57;
    babel_classCallCheck(this, _ctor);
    _this57 = _callSuper(this, _ctor, arguments);
    _this57.canvasNode = null;
    return _this57;
  }
  babel_inherits(_ctor, _cc$Component19);
  return babel_createClass(_ctor, [{
    key: "setCanvasNode",
    value: function setCanvasNode(e) {
      this.canvasNode = e;
    }
  }, {
    key: "getCanvasNode",
    value: function getCanvasNode() {
      return this.canvasNode;
    }
  }, {
    key: "openTiliView",
    value: function openTiliView() {
      this.canvasNode.getChildByName("TiliView").getComponent($2TiliView.default).showTiliView();
    }
  }, {
    key: "closeTiliView",
    value: function closeTiliView() {
      this.canvasNode.getChildByName("TiliView").getComponent($2TiliView.default).hideTiliView();
    }
  }, {
    key: "getTiliStartPoint",
    value: function getTiliStartPoint() {
      return this.canvasNode.getChildByName("TiliPoint");
    }
  }], [{
    key: "Instance",
    get() {
      _o57._instance || (_o57._instance = new _o57());
      return _o57._instance;
    }
  }]);
}(cc.Component);
def_NodeManager._instance = null;
def_NodeManager = _o57 = cc__decorate([ccp_ccclass], def_NodeManager);
exports.default = def_NodeManager;